package jm.nj.shiYan.demo01;

public class ExcptionDemo01 {
    public static void main(String[] args) {
        try{
            fund();
        }catch (Exception e){
            //System.out.println(e.getMessage());
           //System.out.println(e.toString());
            //e.printStackTrace();
            System.out.println(e);
        }
    }

    private static void fund()  throws Exception{
        throw new Exception("异常了");
    }
}
